<template>
  <van-nav-bar :left-arrow="$route.meta.back" @click-left="onClickLeft">
    <template #title>
      <p class="navgator-title">{{ `${$appName} ${$route.meta.title}` }}</p>
    </template>
  </van-nav-bar>
</template>

<script setup>
import {getCurrentInstance} from "vue"
const {proxy} = getCurrentInstance();
function onClickLeft(){
  proxy.$router.back();
}

</script>

<style scoped>
</style>
